﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Sale_MactivityChange.aspx.cs" Inherits="ArtLand.OA.Project.Sale.Sale_MactivityChange" %>



<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../js/jquery-1.4.1.min.js"></script>
    <style>
        .x-form-item {
            padding: 5px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
        <ext:Panel ID="Panel1" BodyPadding="10px" runat="server" EnableBackgroundColor="false"
            EnableCollapse="True" Title="面板" Width="600px" ShowHeader="false" ShowBorder="false" AutoScroll="true">
            <Toolbars>
                <ext:Toolbar Position="Footer">
                    <Items>
                        <ext:Button Text="保存" Icon="DatabaseSave" ValidateForms="SimpleForm2" ID="btnSave" runat="server" OnClick="btnSave_Click"></ext:Button>
                        <ext:Button Text="关闭" Icon="SystemClose" ID="btnClose" runat="server"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:SimpleForm ID="SimpleForm2" EnableBackgroundColor="false" ShowBorder="false" ShowHeader="false" BodyPadding="5px" Title="表单" runat="server">
                    <Items>
                        <ext:Panel ID="Panel2" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label2" runat="server" Text="活动主题：" Width="70px"></ext:Label>
                                <ext:TextBox ID="txt_ASUBJECT" Required="true" Label="活动主题" runat="server" Width="165px" />
                                <ext:Label ID="Label8" runat="server" Text="&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label10" runat="server" Text="状态：" Width="65px"></ext:Label>
                                <ext:DropDownList runat="server" ID="Drp_STATUS"></ext:DropDownList>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel3" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label15" runat="server" Text="预算：" Width="70px"></ext:Label>
                                <ext:TextBox Label="预算" ID="txt_BADGET" runat="server" Required="true" Width="165px"></ext:TextBox>
                                <ext:Label ID="Label1" runat="server" Text="&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label9" runat="server" Text="实际花费：" Width="65px"></ext:Label>
                                <ext:TextBox ID="txt_SPEND" Required="true" Label="实际花费" runat="server" Width="165px" />

                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel4" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label11" runat="server" Text="开始时间："  Width="70px"></ext:Label>
                              <ext:DatePicker ID="txt_SDATE" Required="true" Label="开始时间" runat="server" Width="165px"></ext:DatePicker> 
                                <ext:Label ID="Label12" runat="server" Text="&nbsp;&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label13" runat="server" Text="结束时间：" Width="65px"></ext:Label>
                                <ext:DatePicker ID="txt_EDATE" Label="结束时间" runat="server" Width="165px"  ></ext:DatePicker>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel5" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label7" runat="server" Text="负责人：" Width="70px"></ext:Label>
                                <ext:TriggerBox ID="txt_CONTAT" Required="true" Label="负责人" Width="156px" EnableEdit="false" Readonly="false" TriggerIcon="Search" EmptyText="选择申请人" runat="server">
                                </ext:TriggerBox>
                                <ext:HiddenField runat="server" ID="hid_CONTAT"></ext:HiddenField>
                                <ext:Label ID="Label17" runat="server" Text="&nbsp;&nbsp;&nbsp;"></ext:Label>
                                <ext:Label ID="Label6" runat="server" Text="联系方式：" Width="65px" EncodeText="false"></ext:Label>
                                <ext:TextBox ID="txt_COTELNUB" Label="联系方式" runat="server" Width="165px" />
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel6" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label4" runat="server" Text="活动记录："></ext:Label>
                                <ext:TextArea Label="活动记录" runat="server" ID="txt_RECORD" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel7" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label3" runat="server" Text="活动总结："></ext:Label>
                                <ext:TextArea Label="活动总结" runat="server" ID="txt_SUMMARY" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel8" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label5" runat="server" Text="备注说明："></ext:Label>
                                <ext:TextArea Label="备注说明" runat="server" ID="txt_REMARK" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel9" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label14" runat="server" Text="活动地址："></ext:Label>
                                <ext:TextArea Label="活动地址" runat="server" ID="txt_ADDRES" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Panel ID="Panel10" ShowHeader="false" CssClass="x-form-item" ShowBorder="false"
                            Layout="Column" runat="server">
                            <Items>
                                <ext:Label ID="Label16" runat="server" Text="详细描述："></ext:Label>
                                <ext:TextArea Label="详细描述" runat="server" ID="txt_DESCRIBE" Height="150px" Width="400px"></ext:TextArea>
                            </Items>
                        </ext:Panel>
                        <ext:Grid runat="server" ID="Grid1" Height="170px" OnRowDataBound="Grid1_RowDataBound" Title="活动附件" OnRowCommand="Grid1_RowCommand" AutoScroll="true" ShowHeader="true" EnableRowNumber="true">
                            <Toolbars>
                                <ext:Toolbar ID="Toolbar1" CssClass="mytoolbar" runat="server">
                                    <Items>
                                        <ext:FileUpload runat="server" ID="filePhoto" ButtonText="上传附件" ButtonOnly="true"
                                            AutoPostBack="true" ButtonIcon="DiskUpload" OnFileSelected="filePhoto_FileSelected" Width="77px" Height="20px">
                                        </ext:FileUpload>
                                    </Items>
                                </ext:Toolbar>
                            </Toolbars>
                            <Columns>
                                <ext:BoundField DataField="FileName" Width="370px" HeaderText="文件名" />
                                <ext:BoundField DataField="FileName" Width="250px" HeaderText="文件名" Hidden="true" />
                                <ext:LinkButtonField ConfirmText="你确定要这么做么？" ConfirmTarget="Top" Icon="Decline" ColumnID="ID"
                                    Width="50px" CommandName="Del" TextAlign="Center" HeaderText="删除" />
                            </Columns>
                        </ext:Grid>
                    </Items>
                </ext:SimpleForm>

                <%--<ext:GroupPanel ID="GroupPanel2" EnableBackgroundColor="true" AutoHeight="true" Title="查看权限"
                    runat="server">
                    <Items>
                    </Items>
                </ext:GroupPanel>--%>
            </Items>
        </ext:Panel>
        <ext:HiddenField ID="hf" runat="server"></ext:HiddenField>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="650px" Height="400px">
        </ext:Window>
    </form>

</body>
</html>
